package us.mooresr.webtroopmanager.shared;


import java.util.Date;

import javax.persistence.Id;

import com.google.gwt.user.client.rpc.IsSerializable;





public class Person implements IsSerializable {


	@Id private Long id;
	

	private String firstName;
	

	private String lastName;
	

	private Integer type;
	

	private Date medFormA;
	

	private Date medFormB;
	

	private Date medFormC;
	

	private String driversLicense;
	

	private Boolean active;


	private String gender;


	private Date dateOfBirth;


	private String homePhone;


	private String workPhone;


	private String cellPhone;


	private String address;


	private String city;


	private String state;


	private String zip;


	private String email;
	
	private String bsaId;

	@SuppressWarnings("unused")
	public Person() {
		
	}
	
	public Person(Long id, String firstName, String lastName, Integer type,
			Date medFormA, Date medFormB, Date medFormC, String driversLicense,
			Boolean active, String gender, Date dateOfBirth, String homePhone,
			String workPhone, String cellPhone, String address, String city,
			String state, String zip, String email, String bsaId) {
		super();
		this.id = id;
		this.firstName = firstName;
		this.lastName = lastName;
		this.type = type;
		this.medFormA = medFormA;
		this.medFormB = medFormB;
		this.medFormC = medFormC;
		this.driversLicense = driversLicense;
		this.active = active;
		this.gender = gender;
		this.dateOfBirth = dateOfBirth;
		this.homePhone = homePhone;
		this.workPhone = workPhone;
		this.cellPhone = cellPhone;
		this.address = address;
		this.city = city;
		this.state = state;
		this.zip = zip;
		this.email = email;
		this.bsaId = bsaId;
	}
	
	public String toString() {
		return firstName + " " + lastName;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getMedFormA() {
		return medFormA;
	}

	public void setMedFormA(Date medFormA) {
		this.medFormA = medFormA;
	}

	public Date getMedFormB() {
		return medFormB;
	}

	public void setMedFormB(Date medFormB) {
		this.medFormB = medFormB;
	}

	public Date getMedFormC() {
		return medFormC;
	}

	public void setMedFormC(Date medFormC) {
		this.medFormC = medFormC;
	}

	public String getDriversLicense() {
		return driversLicense;
	}

	public void setDriversLicense(String driversLicense) {
		this.driversLicense = driversLicense;
	}

	public Boolean getActive() {
		return active;
	}

	public void setActive(Boolean active) {
		this.active = active;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Date getDateOfBirth() {
		return dateOfBirth;
	}

	public void setDateOfBirth(Date dateOfBirth) {
		this.dateOfBirth = dateOfBirth;
	}

	public String getHomePhone() {
		return homePhone;
	}

	public void setHomePhone(String homePhone) {
		this.homePhone = homePhone;
	}

	public String getWorkPhone() {
		return workPhone;
	}

	public void setWorkPhone(String workPhone) {
		this.workPhone = workPhone;
	}

	public String getCellPhone() {
		return cellPhone;
	}

	public void setCellPhone(String cellPhone) {
		this.cellPhone = cellPhone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getZip() {
		return zip;
	}

	public void setZip(String zip) {
		this.zip = zip;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	
	public String getFullname() {
		return firstName + " " + lastName;
	}
	
	public String getBsaId() {
		return bsaId;
	}
	
	public void setBsaId(String bsaId) {
		this.bsaId = bsaId;
	}
}
